import http from '@/common/utils/request.js'

export const payway = {
	findPaywayList(data){
		return http.get('/system/payway/', {params:data, custom:{}})
	},
	findDefaultPayway(data){
		return http.post('/system/payway/findDefaultPayway/', data, {custom:{}})
	},
	getPaywayInfo(data){
		return http.post('/system/payway/getPaywayInfo/', data, {custom:{}})
	},
	createPayway(data){
		return http.post('/system/payway/createPayway/', data, {custom:{}})
	},
	updatePayway(data){
		return http.post('/system/payway/updatePayway/', data, {custom:{}})
	},
	deletePayway(data){
		return http.post('/system/payway/deletePayway/', data, {custom:{}})
	},
	//提现
	outMoney(data){
		return http.post('/system/payway/outMoney/', data, {custom:{}})
	}
}